package com.shelpe.services.auth.service;

import com.shelpe.services.auth.entity.AuthInfo;
import com.shelpe.services.auth.entity.Users;

import lombok.Data;

public interface TokenService {

	public UserInfo getToken(String nick);
	
	public UserInfo getToken(long userId);
	
	@Data
	public static class UserInfo{
		private Users user;
		private AuthInfo auth;
	}
}
